home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: news.shlink.de!wiloyee!chaos
- From: chaos@wiloyee.shnet.org
- Subject: Re: Demo/game to OS friendly part II
- X-Newsreader: TIN [UNIX 1.3 950515BETA PL0]
- Organization: Studentenhochhaus Wedel Deutschland
- Message-ID: <DLsCMt.MBt@wiloyee.shnet.org>
- References: <38232020@kone.fipnet.fi> <9PxXx*kka@aargh.incubus.sub.org> <4des65$bgk@serpens.rhein.de>,<38232076@kone.fipnet.fi> <4e1hk6$tfd@news.isc.rit.edu>
- Date: Fri, 26 Jan 1996 11:16:04 GMT
-
- mjp3783@alpha.isc.rit.edu wrote:
- : All of these "discussions" of OS functionality remind me of a conversation that
- : happened here a long time ago. A group of asm programmers were discussing the
- : fastest way to copy memory from one location to another. After 2-3 weeks, they
- : finally had a piece of code for everyone to see. (For those interested, it
- : moved all of the registers to the stack, copied 14-15 registers at a time, then
- : replaced the stack and all of its variables). Mike Sinz (I think - maybe Radell
- : Jessup) replied to the message and stated that that was almost instruction for
- : instruction what the OS does. You can take this one of two ways:
- :
- : 1) K0derz are as smart as the OS designers and don't need an OS, anyway
- :
- : 2) OS designers have some vague clue what optimization is, might be doing
- : something right and don't need a bunch of snot nosed brats who can't deal with
- : any rules to tell them that they don't know the jobs they are being well
- : compensated for.
- :
- : You decide which way suits your needs.
-
- you can ofcourse use the chunky to planar routines of kick3.1, and chris
- green did a really clever job, with special optimisations for akiko hardware
- if present, but they are still far away from what you can do by yourself.
-
- sometimes, os routines are as good as what you cn do by yourself. the easier
- the task, the bigger the chance that the os can do it as well. copying
- memory is a very simple task
-
- but if the task is very complicated, like merging copperlists or doing c2p,
- you can be SURE that more specialised routines can do a faster job.
-
- the best example are the routines for merging copperlists. on kick2.0 they
- were really slow. with kick3.0 (orkick3.1) the speed got acceptable. but if
- you want some really nice stuff, like complex paralaxing (see the game Mr.
- Nutz), then it's useless to use the OS. Mr. Nutz runs very well on an A500
- (50 fps), but using os it woun't run on an A4000.
-
- special routines win over general purpose routines, and an os can only
- contain general pupose routines.
-
-
- : something right and don't need a bunch of snot nosed brats who can't deal with
- i get teh feeling that discussion in this thread is impossible without bad
- language. very professional, oslamic.
-